package com.xrx.webtemplate.web.api.impl;

import com.xrx.webtemplate.common.ShiroUser;
import com.xrx.webtemplate.pojo.UserPojo;
import com.xrx.webtemplate.web.api.LoginApi;
import com.xrx.webtemplate.web.service.biz.LoginApiBiz;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by xierongxian on 2017/4/23.
 */
@Service("loginApiImpl")
public class LoginApiImpl implements LoginApi{

    @Autowired
    private LoginApiBiz loginApiBiz;

    public ShiroUser checkLogin(String username, String password){
        return loginApiBiz.checkLogin(username,password);
    }
}
